IPublishPostProcessPlugin - IshRunFeedSDLLiveContent [deprecated]
Uploads the files to Legacy Content Delivery by executing the FeedSDLLiveContent.ps1 script.
Plugin Input
Plugin configuration parameters
| Parameter | Required | Default value | Allowed values | Description |
|---|---|---|---|---|
| ScriptsFolder | Yes | Valid folder path. | The path to the folder that contains the FeedSDLLiveContent.ps1 script. | |
| FeedSDLLiveContentOutDirectoryContextItemKey | Yes | The name of key of output parameter to set the path to folder that contains the FeedSDLLiveContent.ps1 script. | The output value with the path to folder that contains the FeedSDLLiveContent.ps1 script will be added to the context.Items collection.
|
Input expected in the
context.Items collection:
| Parameter | Required | Default value | Allowed values | Description |
|---|---|---|---|---|
| JobSpecLocation | Yes | Valid file path. | Path to the file system folder where the job spec XML will be store stored. |
Plugin Outcome
Changes made to the file system: Multiple files are changed and uploaded.
Values set in the context as a result: None.
Values set in the
context.Items collection as a result:
| Item Key | Typical Value | Item Value Type | Description |
|---|---|---|---|
The name of key is specified in the parameter FeedSDLLiveContentOutDirectoryContextItemKey | string | The out folder of FeedSDLLiveContent.ps1 |
plugin name="ISHRUNFEEDSDLLIVECONTENT" example
<plugin name="ISHRUNFEEDSDLLIVECONTENT" handler="IshRunFeedSDLLiveContent">
<description>
Uploads the files to Legacy Content Delivery
</description>
<initialize>
<parameters>
<parameter name="ScriptsFolder">%ISHPROJECTAPPPATH%\Utilities\PublishingService\Tools</parameter>
<parameter name="FeedSDLLiveContentOutDirectoryContextItemKey">FeedSDLLiveContentOutDirectory</parameter>
</parameters>
</initialize>
</plugin>
Plugin flow
The IshRunFeedSDLLiveContent does the following:
- Starts a process that executes the
FeedSDLLiveContent.ps1command with the correct set of parameters (including the location of the job specification file, the log file location, authentication context, etc.) - The output of the process is gathered and saved in the Event Log detail records. The status of the output is set depending whether errors/warning were encountered or not.
- The values of the
contextthat need to be changed are set.